projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9307553
)
unicsv: Fix memory override with sscanf.
author
oliskoli
<oliskoli>
Mon, 1 Sep 2008 21:06:07 +0000
(21:06 +0000)
committer
oliskoli
<oliskoli>
Mon, 1 Sep 2008 21:06:07 +0000
(21:06 +0000)
unicsv.c
patch
|
blob
|
history
diff --git
a/unicsv.c
b/unicsv.c
index 3b4909158babd7cc1420179e0c24eaf217e751a2..3ffb00cd250a3a58d304f219d3ca3f35ca89ac76 100644
(file)
--- a/
unicsv.c
+++ b/
unicsv.c
@@
-323,7
+323,7
@@
unicsv_parse_time(const char *str, int *msec, int *date)
int hour, min, ct, sec;
int consumed = 0;
double ms;
- char sep[
1
];
+ char sep[
2
];
int ldate;
/* If we have somethine we're pretty sure is a date, parse that